package cn.shoukaiseki.sjf4j.fastjson;

import cn.shoukaiseki.sjf4j.node.JsonNodeType;
import cn.shoukaiseki.sjf4j.node.TreeNode;

public class FastjsonNullNode extends FastjsonTreeNode<Object>{

    public FastjsonNullNode() {
       super(null);
    }

    public FastjsonNullNode(Object value) {
        super(value);
    }

    @Override
    public JsonNodeType getNodeType() {
        return JsonNodeType.NULL;
    }

    @Override
    public int size() {
        return 0;
    }

    @Override
    public Integer asIntVal() {
        return null;
    }

    @Override
    public Long asLongVal() {
        return null;
    }

    @Override
    public TreeNode get(String fieldName) {
        return null;
    }

    @Override
    public TreeNode get(int index) {
        return null;
    }

    @Override
    public String toString() {
        return null;
    }
}
